<template>
  <div class="banner">
    <div class="banner-con">
      <router-link to="/coupon">
        <div class="banner-conl">
          <img class="img1" src="homeimg/bimg_1.png" />
        </div>
      </router-link>
      <div class="banner-conr">
        <router-link to="/gband">
          <img class="img2" src="homeimg/bimg_2.png" />
        </router-link>
        <router-link to="/tide">
          <img class="img3" src="homeimg/bimg_3.png" />
        </router-link>
        <router-link to="/combo">
          <img class="img4" src="homeimg/bimg_4.png" />
        </router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.banner {
  position: relative;
  width: 3.56rem;
  height: 1.7rem;
  margin: auto;
}
.banner-con {
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 5px;
  top: -13px;
  position: absolute;
  left: 0.03rem;
  background-color: white;
  width: 3.5rem;
  height: 1.7rem;
}
.banner-conl {
  width: 1.4rem;
  height: 1.62rem;
}
.banner-conr {
  position: relative;
  width: 1.9rem;
  height: 1.62rem;
}
.img2 {
  position: absolute;
  top: 0px;
}
/* router-link img:nth-child(1){
     position: absolute;
     top: 76px;   
    } */
.img3 {
  position: absolute;
  top: 76px;
}
.img4 {
  position: absolute;
  top: 76px;
  left: 93px;
}

.banner-con {
  display: flex;
  justify-content: space-evenly;
}
</style>